package cn.iocoder.yudao.module.shop.controller.admin.shopTable.vo;

import lombok.*;
import java.util.*;
import io.swagger.v3.oas.annotations.media.Schema;
import cn.iocoder.yudao.framework.common.pojo.PageParam;
import org.springframework.format.annotation.DateTimeFormat;
import java.time.LocalDateTime;

import static cn.iocoder.yudao.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND;

@Schema(description = "管理后台 - 商户桌号分页 Request VO")
@Data
@EqualsAndHashCode(callSuper = true)
@ToString(callSuper = true)
public class ShopTablePageReqVO extends PageParam {

    @Schema(description = "品牌id", example = "1")
    private Long brandId;

    @Schema(description = "店铺id", example = "1")
    private Long shopId;

    @Schema(description = "桌号")
    private String tableNo;

    @Schema(description = "最大用餐人数")
    private Integer maxPerson;

    @Schema(description = "餐桌类型", example = "1")
    private String tableType;

    @Schema(description = "状态（01 启用，02没启用）", example = "1")
    private Boolean isUse;

    @Schema(description = "占座状态（01未占座，02用餐中）", example = "1")
    private String seatStatus;

    @Schema(description = "创建时间")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime[] createTime;

}